//这个文件封装本地存储与读取数据的方法

// 封装本地存储token
export const SET_TOKEN = (token: string): void => {
  localStorage.setItem('TOKEN', token)
}
// 本地存储获取token
export const GET_TOKEN = (): string => {
  return localStorage.getItem('TOKEN') as string
}

// 移除本地token
export const REMOVE_TOKEN = (): void => {
  localStorage.removeItem('TOKEN')
}
